﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wilke.SharePoint.Tools
{
    internal static class Constants
    {
        internal static readonly string ErrorSharePointNotAvailable = "Error - Could not load SharePoint WebApplications.";
        internal static readonly string MessageWebApplicationsLoading = "Loading SharePoint WebApplications...";
        internal static readonly string ErrorCouldNotLoadXml = "Could not load Xml document.";
       

        #region App.Config Keys

        internal static readonly string ConfigKeySharePointVersion = "SharePointVersion";
        internal static readonly string ConfigKeyInetPubPath = "InetPubPath";
        internal static readonly string ConfigKeyAutoLookupNodesToIgnore = "AutoLookupNodesToIgnore";
        internal static readonly string ConfigKeyFrequentlyUsedNodeNames = "FrequentlyUsedNodeNames";
        internal static readonly string ConfigKeyAutoLookupDifferentiatingAttributeNames = "AutoLookupDifferentiatingAttributeNames";
        internal static readonly string ConfigKeyCodeGenerationNamespace = "CodeGenerationNamespace";
        internal static readonly string ConfigKeyDefaultOwner = "DefaultOwner";

        #endregion

        #region Default App.Config Key Values

        internal static readonly string DefaultOwner = "[WebConfigModificationTester]";
        internal static readonly string DefaultSharePointVersion = "Microsoft SharePoint 2010";
        internal static readonly string DefaultFrequentlyUsedNodeNames = "appSettings|connectionStrings|add";
        internal static readonly string DefaultAutoLookupNodesToIgnore = "section|SafeControls|Action|add|remove|dependentAssembly|authorizedType";
        internal static readonly string DefaultDifferentiatingAttributeNames = "name|path|id";
        internal static readonly string DefaultInetPubPath = @"C:\inetpub\wwwroot\wss\VirtualDirectories";
        internal static readonly string DefaultCodeGenerationNamespace = @"Wilke.SharePoint.Tools";

        #endregion
    }
}
